package com.sunwayworld.basemodule.basedata.knowledgelibrary.service;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.basemodule.basedata.knowledgelibrary.bean.LimsKnowledgelibraryBean;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;
import com.sunwayworld.framework.support.choosable.service.GenericChoosableService;
import com.sunwayworld.module.item.file.bean.CoreFileBean;

public interface LimsKnowledgelibraryService extends GenericService<LimsKnowledgelibraryBean, Long>, GenericChoosableService<LimsKnowledgelibraryBean, Long> {

    JSONObject setActiveStatus(RestJsonWrapperBean jsonWrapperBean);

    JSONObject saveAuthorizedPeople(RestJsonWrapperBean jsonWrapperBean);

    JSONObject refreshHomePageData(RestJsonWrapperBean jsonWrapperBean);

    JSONObject insertRemarkNote(JSONObject data);

    JSONObject deleteRemarkNote(JSONObject data);

    JSONObject updateRemarkNote(JSONObject data);

    CoreFileBean selectCoreFileByRowId(Long rowId);

    JSONObject refreshKnowledgeLibraryData(RestJsonWrapperBean jsonWrapperBean);

    JSONObject refreshRemarkNoteData(RestJsonWrapperBean jsonWrapperBean);

    JSONObject refreshExperimentInformationData(RestJsonWrapperBean jsonWrapperBean);

    JSONObject refreshToDoData(RestJsonWrapperBean jsonWrapperBean);

    JSONObject refreshNotificationData(RestJsonWrapperBean jsonWrapperBean);

    JSONObject refreshMenuNameData(RestJsonWrapperBean jsonWrapperBean);
}
